<?php

	//require_once 'SqlHelper.class.php';

    $mysql = new SaeMysql();

	$data = $_POST['data'];

	$arr = json_decode($data,true);

    
    for($i=0;$i<sizeof($arr);$i++){

	$sql = "delete from wx_lottery where wx_lottery_id = '".$arr[$i]."'";
	$mysql->runSql($sql);

    }
    //mysql_free_result($res);

?>